<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:include="css :: css">

</head>
<link href="/js/jquery.icheck/skins/square/blue.css" rel="stylesheet">

<body style="overflow: hidden;opacity: 1">

<div id="cl-wrapper" style="padding-top: 0">
    <div class="container-fluid" >
        <div class="cl-mcont">
            <div class="row">
                <div class="col-md-12">
                    <div class="block-flat">
                        <form class="form-horizontal group-border-dashed" onsubmit="return false;">
                            <div class="form-group">
                                <div class="input-group">
                                    <button class="btn btn-primary" type="button" id="search"><i
                                            class="fa fa-search"></i>查询
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-success btn-operation" type="button" id="addModel"
                                            onclick="addModelFun(1)"><i class="fa fa-plus-square-o"></i>添加密价模板
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-warning btn-operation" type="button" id="updateModel"
                                            onclick="addModelFun(2)"><i class="fa fa-pencil"></i>修改密价模板
                                    </button>
                                    &nbsp;
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="block-flat">
                        <div class="content">
                            <div class="table-responsive">
                                <table class="table hover" id="dataTable">
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <div class="modal fade" id="addModelModal" tabindex="-1" role="dialog" aria-labelledby="addModelLabel">
            <div class="modal-dialog" role="document" style="width:800px;">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="addModelLabel">新增密价模板</h4>
                    </div>
                    <div class="modal-body" style="min-height:160px;">
                        <form class="form-horizontal" role="form" id="addModelPriceForm">
                            <input type="hidden" name="JSESSIONID">
                            <input type="hidden" id="hidId" name="id">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label for="modelName" class="col-sm-4 control-label"><span
                                            class="text-danger"></span>模板名称:</label>
                                    <div class="col-sm-7" style="width: 240px" >
                                        <input type="text" class="form-control"
                                               id="modelName" name="modelName">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="remark" class="col-sm-4 control-label"><span
                                            class="text-danger"></span>备注:</label>
                                    <div class="col-sm-7" style="width: 240px">
                                        <textarea type="text" class="form-control" id="remark" placeholder="请输入备注"
                                                  name="remark"></textarea>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                        <button type="button" class="btn btn-primary" id="addModelSubmit">确定</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="js :: js"></div>
<script type="text/javascript" src="js/jquery.icheck/icheck.min.js"></script>
<script type="text/javascript" src="/js/pageJs/product/modelList.js?deVersion=2018071601"></script>

</body>
</html>
